package cn.yoaket.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Alex
 */
public class BeanDefinition {
    String id;
    String className;
    HashMap<String,String> fields;
    public BeanDefinition(String id,String className) {
        this.id = id;
        this.className = className;
        fields = new HashMap<>();
    }

    public void addFiled(String field,String value){
        fields.put(field,value);
    }

    public Map<String, String> getFields() {
        return fields;
    }
}
